//
//  TieBaXiangQingTableView.h
//  1gene
//
//  Created by 1jiyin on 16/3/14.
//  Copyright © 2016年 1jiyin. All rights reserved.
//
///////***********贴吧详情***************
@protocol TieBaXiangqingTableViewDelegate <NSObject>
/*
 *放大图片
 */
-(void)bigImage:(NSInteger)currentIndex AndImageArrays:(NSArray *)imageArrays;

-(void)startPostComment:(NSString *)name ReplyId:(NSString *)replyId;
/**
 *点击用户头像
 */
-(void)gotoMyAttentionViewController:(NSString *)userId;

@end

#import <UIKit/UIKit.h>
#import "TieZiModel.h"
@interface TieBaXiangQingTableView : UITableView<UITableViewDataSource,UITableViewDelegate>
/*
 *数据源
 */
@property(nonatomic,copy)NSArray *arr;
/*
 *初始化方法
 */
-(instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style TopicId:(NSInteger)topic_id;
/*
 *自定义代理方法
 */
@property(nonatomic,assign)id imgDelegate;

/*
 *cell数据源
 */
@property(nonatomic,copy)NSMutableArray *dataArray;
/*
 *评论的内容
 */
@property(nonatomic,copy)void(^sendComment)(NSString *content,NSString *replyId);

/*
 *帖子id
 */
@property(nonatomic,assign)NSInteger topic_id;



@property(nonatomic,copy)void(^dianzan)(NSString *number);



//来自哪个控制器
@property(nonatomic,copy)NSString *fromWhere;

@property(nonatomic,assign)NSInteger centerTag;


@property(nonatomic,copy)void(^backTopicData)(NSString *title,NSString *content,UIImage *img);
@end
